<?php

if (isset($base_path))
{
} else {
  $base_path = "../";
}

include_once '../php/lib/spyc.php';

$config = Spyc::YAMLLoad($base_path . 'config/config.yml');
$output_path = $base_path . $config['output']['path'];

system("rm ".$output_path."/*.dat -f");
system("rm ".$output_path."/*.png -f");
system("rm ".$output_path."/*.gnu -f");

?>